import request from '@/utils/request'

export function getExamInfo(params) {
    return request({
        url: '/client/getExamInfo/getUserTrainInfo',
        method: 'get',
        params
    })
}
export function getOperationTrainDeptList(params) {
    return request({
        url: '/manager/operationTrain/deptList',
        method: 'get',
        params
    })
}

export function getOperationTrainCarList(params) {
    return request({
        url: '/manager/operationTrain/deptCarList',
        method: 'get',
        params
    })
}

export function updateAnswerTraion(data) {
    return request({
        url: '/client/answer/answerTrain',
        method: 'POST',
        data
    })
}


export function uploadRecord(batchId, data) {
    return request({
        url: `/manager/operationTrain/uploadRecord`,
        method: 'POST',
        data
    })
}

